﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/Admin.Master" AutoEventWireup="true"
    CodeBehind="TinTucDetail.aspx.cs" Inherits="Website.Administrator.TinTucDetail" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <style type="text/css">
        .style1
        {
            width: 240px;
        }
        .lblTen
        {
            width: 140px;
            font-weight: bold;
            text-align: right;
        }
        .tensanpham
        {
            text-align: right;
            float: left;
            width: 140px;
            border: 1px;
            font-weight: bold;
            text-align: right;
        }
        .ddlsanpham
        {
            margin-left: 175px;
        }
        .style3
        {
            width: 27px;
        }
        .style4
        {
            height: 26px;
        }
    </style>
    <asp:HiddenField ID="TextBoxMa" runat="server"></asp:HiddenField>
 
   <div>
       <a href="DanhMucList.aspx" class="bt_blue"><span class="bt_blue_lft"></span><strong>
       Danh Sách Tin Tức</strong><span class="bt_blue_r"></span></a>

        <a href="DanhMucDetail.aspx" class="bt_green"><span class="bt_green_lft"></span><strong>
        <asp:Label ID="Label1" runat="server" Text="Thêm Tin Tức"></asp:Label></strong><span
            class="bt_green_r"></span></a>

            </div>            
   
            
                    
    <table style="width: 100%;">
        <tr>
            <td class="lblTen">
                Loại Tin
            </td>
            <td class="style3">
                &nbsp;
            </td>
            <td align="left" class="style1">
                <span class="disabled">
                    <asp:DropDownList ID="ddlDanhMucCha" runat="server" OnSelectedIndexChanged="ddlDanhMucCha_SelectedIndexChanged"
                        AutoPostBack="True">
                    </asp:DropDownList>
                </span>
            </td>
            <td>
                <span class="disabled">
                    <asp:DropDownList ID="ddlDanhMucCon" runat="server">
                    </asp:DropDownList>
                </span>
            </td>
        </tr>
        <tr>
            <td colspan="5">
                <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
                    <asp:View ID="View1" runat="server">
                        <div class="tensanpham">
                            Sản Phẩm</div>
                        <div class="ddlsanpham">
                            <asp:DropDownList ID="ddlSanPham" runat="server">
                            </asp:DropDownList>
                        </div>
                    </asp:View>
                </asp:MultiView>
            </td>
        </tr>
        <tr>
            <td class="lblTen">
                Tiêu Đề
            </td>
            <td class="style3">
                &nbsp;
            </td>
            <td align="left" class="style1">
                <asp:TextBox ID="txtTieuDe" runat="server" Width="178px"></asp:TextBox>
            </td>
            <td>
                <asp:HiddenField ID="txtMa" runat="server" />
            </td>
        </tr>
    </table>
    <br />
    <table style="width: 100%;">
        <tr>
            <td class="style4">
                <strong>Upload Hình</strong>
                <asp:FileUpload ID="FileUpload1" runat="server" Width="290px" Height="25px" />
                <asp:Button ID="ButtonUpload" runat="server" OnClick="ButtonUpload_Click" Text="Upload"
                    Height="25px" Width="87px" />
            </td>
            <td align="left" style="width: 5px; height: 26px" valign="bottom">
                &nbsp;
            </td>
        </tr>
    </table>
    <table style="width: 100%;">
        <tr>
            <td style="height: 24px">
                <asp:Image ID="imgUpLoad" runat="server" Height="200px" ImageUrl="upload/img/noimage400x300.gif"
                    Width="200px" />
        </tr>
    </table>
    <table style="width: 100%">
        <tr>
            <td colspan="3">
                <strong>Mô tả (Tóm tắt)<span style="color: #ff0000">*</span></strong>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td colspan="4" style="height: 40px">
                <asp:TextBox ID="txtBoxMoTa" runat="server" Height="100px" TextMode="MultiLine" 
                    Width="760px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <strong>Nội dung tin<span style="color: #ff0000">*</span></strong>
            </td>
            <td style="height: 30px">
            </td>
        </tr>
        <tr>
            <td colspan="4" style="height: 298px">
                <div style="border: solid 1px #000; font-weight: 700;">
                    <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" Width="100%">
                    </FCKeditorV2:FCKeditor>
                </div>
            </td>
        </tr>
    </table>
<table>
<tr>
        	<td class="style1">
                &nbsp;</td>
            <td align="right" class="style1" >
                <a href="#" class="bt_red"><span class="bt_red_lft"></span><strong> 
                <asp:ImageButton ID="ibtThemMoi" runat="server" 
                    ImageUrl="~/Administrator/resourceConten/images/themMoi.jpg" 
                    onclick="ibtThemMoi_Click" />
                <asp:ImageButton ID="ibtUpdate" runat="server" 
                    ImageUrl="~/Administrator/resourceConten/images/update.jpg" 
                    onclick="ibtUpdate_Click" Height="31px" /></strong><span class="bt_red_r"></span></a>  
                   
       <a href="DanhMucList.aspx" class="bt_blue"><span class="bt_blue_lft"></span><strong><asp:ImageButton ID="ImageButton2" runat="server" 
                    ImageUrl="~/Administrator/resourceConten/images/canl.jpg" 
                    onclick="ImageButton2_Click" Height="31px" /></strong><span class="bt_blue_r"></span></a></td>
            <td>
                    &nbsp;</td>
            <td>&nbsp;</td>

            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
</table>
     
     
        </asp:Content>
